{config_load file="$language/lang.conf" section="address_book_process"}
<div class="info">
	<div>{#text_must#}</div>
</div>
<br />
<table class="cblock" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_left_top.gif" width="3" height="3" alt="" /></td>
                  <td class="cblock-top"><img src="{$tpl_path}spacer.png" width="1" height="3" alt="" /></td>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_right_top.gif" width="3" height="3" alt="" /></td>
                </tr>
                <tr valign="top">

		<td class="cblock-left"></td>

		<td>
<table width="100%" border="0" cellspacing="1" cellpadding="7" class="bgcolor4">
	<tr>
    <th colspan="2">{#title_address#}</th>
    </tr>
{if $gender=='1'}
  <tr class="bgcolor1">
    <td><label for="gender" title="{$ENTRY_GENDER_ERROR}">{#text_gender#}</label></td>
    <td><table cellspacing="0" cellpadding="0">
      <tr>
        <td>
          {$INPUT_MALE}</td>
        <td>
          {$INPUT_FEMALE}</td>
      </tr>
    </table></td>
  </tr>
  {/if}
  <tr class="bgcolor1">
    <td><label for="firstname" title="{$ENTRY_FIRST_NAME_ERROR}">{#text_firstname#}</label></td>
    <td>{$INPUT_FIRSTNAME}</td>
  </tr>
{if $secondname=='1'}
  <tr class="bgcolor1">
    <td>{#text_secondname#}</td>
    <td>{$INPUT_SECONDNAME}</td>
  </tr>
  {/if}
  <tr class="bgcolor1">
    <td><label for="lastname" title="{$ENTRY_LAST_NAME_ERROR}">{#text_lastname#}</label></td>
    <td>{$INPUT_LASTNAME}</td>
  </tr>
  {if $company=='1'}
  <tr class="bgcolor1">
    <td>{#text_company#}<br /> </td>
    <td>{$INPUT_COMPANY}</td>
  </tr>
  {/if}
  {if $street_address=='1'}
  <tr class="bgcolor1">
    <td><label for="address" title="{$ENTRY_STREET_ADDRESS_ERROR}">{#text_street#}</label></td>
    <td>{$INPUT_STREET}</td>
  </tr>
  {/if}
  {if $suburb=='1'}
  <tr class="bgcolor1">
    <td>{#text_suburb#}</td>
    <td>{$INPUT_SUBURB}</td>
  </tr>
  {/if}
  {if $postcode=='1'}
  <tr class="bgcolor1">
    <td><label for="postcode" title="{$ENTRY_POST_CODE_ERROR}">{#text_code#}</label></td>
    <td>{$INPUT_CODE}</td>
  </tr>
  {/if}
  {if $city=='1'}
  <tr class="bgcolor1">
    <td><label for="city" title="{$ENTRY_CITY_ERROR}">{#text_city#}</label></td>
    <td>{$INPUT_CITY}</td>
  </tr>
  {/if}
  {if $country=='1'}
  <tr class="bgcolor1">
    <td><label for="country" title="{$ENTRY_COUNTRY_ERROR}">{#text_country#}</label></td>
    <td>{$SELECT_COUNTRY}{$SELECT_COUNTRY_NOSCRIPT}</td>
  </tr>
  {/if}
  {if $state=='1'}
  <tr class="bgcolor1">
    <td><label for="state" title="{$ENTRY_STATE_ERROR_SELECT}">{#text_state#}</label></td>
    <td><span id="stateXML">{$INPUT_STATE}</span></td>
  </tr>
  {/if}
  {if $new=='1'}
  <tr class="bgcolor1">
    <td></td>
    <td>{$CHECKBOX_PRIMARY} {#text_standard#}</td>
  </tr>
  {/if}
</table>
		</td>

		<td class="cblock-right"></td>
                </tr>
                <tr>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_left_bottom.gif" width="3" height="7" alt="" /></td>
                  <td class="cblock-bottom"><img src="{$tpl_path}spacer.png" width="1" height="7" alt="" /></td>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_right_bottom.gif" width="3" height="7" alt="" /></td>
                </tr>
</table>